import request from '@/utils/request'

//获取学段
export function getPeriod(params) {
	return request({
		'url': '/activity/getPeriod',
		headers: {
			isToken: false
		},
		'method': 'get',
		'data': params
	})
}

//获取评价量表
export function getScale(params) {
	return request({
		'url': '/activity/getScale',
		headers: {
			isToken: false
		},
		'method': 'get',
		'data': params
	})
}
//获取听课教师
export function getTeacher(params) {
	return request({
		'url': '/activity/getTeacher',
		headers: {
			isToken: false
		},
		'method': 'get',
		'data': params
	})
}

//添加听评课
export function addClass(params) {
	return request({
		'url': '/activity/saveLectureActivity',
		headers: {
			isToken: false
		},
		'method': 'get',
		'data': params
	})
}

//获取听评课列表
export function getLectureActivityList(params) {
	return request({
		'url': '/activity/getLectureActivityList',
		headers: {
			isToken: false
		},
		'method': 'get',
		'data': params
	})
}

//添加教案抽查
export function addTeaching(params) {
	return request({
		'url': '/teachCheck/saveTeachingCheck',
		headers: {
			isToken: false
		},
		'method': 'get',
		'data': params
	})
}
//获取教案抽查列表
export function getTeaching(params) {
	return request({
		'url': '/teachCheck/findByCheckInfo',
		headers: {
			isToken: false
		},
		'method': 'get',
		'data': params
	})
}

//添加教研管理
export function addResearch(params) {
	return request({
		'url': '/teachResearch/saveTeachingResearch',
		headers: {
			isToken: false
		},
		'method': 'get',
		'data': params
	})
}
//获取检验管理列表
export function getResearch(params) {
	return request({
		'url': '/teachResearch/getTeachResearchList',
		headers: {
			isToken: false
		},
		'method': 'get',
		'data': params
	})
}
//添加观摩课
export function addEmulate(params) {
	return request({
		'url': '/publicClass/saveLectureActivity',
		headers: {
			isToken: false
		},
		'method': 'get',
		'data': params
	})
}
//获取观摩课列表
export function getEmulate(params) {
	return request({
		'url': '/publicClass/getLectureActivityList',
		headers: {
			isToken: false
		},
		'method': 'get',
		'data': params
	})
}
//添加听评课笔记
export function addNote(params) {
	return request({
		'url': '/activity/saveNote',
		headers: {
			isToken: false
		},
		'method': 'get',
		'data': params
	})
}

// 添加教研管理笔记
export function addResearchNote(params) {
	return request({
		'url': '/teachResearch/saveTeachResearchNote',
		headers: {
			isToken: false
		},
		'method': 'get',
		'data': params
	})
}
// 获取教研管理笔记
export function getResearchNote(params) {
	return request({
		'url': '/teachResearch/getTeachResearchNote',
		headers: {
			isToken: false
		},
		'method': 'get',
		'data': params
	})
}

// 添加观摩笔记
export function addEmulateNote(params) {
	return request({
		'url': '/publicClass/saveNote',
		headers: {
			isToken: false
		},
		'method': 'get',
		'data': params
	})
}

// 获取观摩笔记
export function getEmulateNote(params) {
	return request({
		'url': '/publicClass/myNoteDetail',
		headers: {
			isToken: false
		},
		'method': 'get',
		'data': params
	})
}


//视频图片笔记上传
export function videoUpDate(params) {
	return request({
		'url': '/circle/videoUpDate',
		headers: {
			isToken: false
		},
		'method': 'get',
		'data': params
	})
}

//获取听评课笔记详情
export function getNoteDetail(params) {
	return request({
		'url': '/activity/myNoteDetail',
		headers: {
			isToken: false
		},
		'method': 'get',
		'data': params
	})
}


//获取主管评价
export function getEstimate(params) {
	return request({
		'url': '/activity/getEstimateInfo',
		headers: {
			isToken: false
		},
		'method': 'get',
		'data': params
	})
}
//添加主观评价
export function addEstimate(params) {
	return request({
		'url': '/activity/saveEstimate',
		headers: {
			isToken: false
		},
		'method': 'get',
		'data': params
	})
}


//获取我的听评课
export function getMyActivity(params) {
	return request({
		'url': '/circle/getMyActivity',
		headers: {
			isToken: false
		},
		'method': 'get',
		'data': params
	})
}
//获取我的观摩课
export function getMyPublicclass(params) {
	return request({
		'url': '/circle/getMyPublicclass',
		headers: {
			isToken: false
		},
		'method': 'get',
		'data': params
	})
}
//获取我的教研管理
export function getMyResearch(params) {
	return request({
		'url': '/circle/getMyResearch',
		headers: {
			isToken: false
		},
		'method': 'get',
		'data': params
	})
}

//获取我的活动报告
export function getMyReport(params) {
	return request({
		'url': '/circle/getMyReport',
		headers: {
			isToken: false
		},
		'method': 'get',
		'data': params
	})
}

//获取我的教案抽查
export function getCheckInfo(params) {
	return request({
		'url': '/circle/getMyCheck',
		headers: {
			isToken: false
		},
		'method': 'get',
		'data': params
	})
}

//开启签退-我的听评课
export function saveOpenSignout(params) {
	return request({
		'url': '/activity/saveOpenSignout',
		headers: {
			isToken: false
		},
		'method': 'get',
		'data': params
	})
}

//开启签退-我的观摩课
export function publicClassOut(params) {
	return request({
		'url': '/publicClass/saveOpenSignout',
		headers: {
			isToken: false
		},
		'method': 'get',
		'data': params
	})
}

//开启签退-我的教研管理
export function teachResearchOut(params) {
	return request({
		'url': '/teachResearch/saveOpenSignout',
		headers: {
			isToken: false
		},
		'method': 'get',
		'data': params
	})
}
/*************听评课***************/

//获取活动报告
export function getClassActivityReport(params) {
	return request({
		'url': '/activity/getActivityReport',
		headers: {
			isToken: false
		},
		'method': 'get',
		'data': params
	})
}
//获取活动信息详情数据
export function getActivity(params) {
	return request({
		'url': '/activity/getLectureActivityById',
		headers: {
			isToken: false
		},
		'method': 'get',
		'data': params
	})
}
//评课量表
export function getTargetList(params) {
	return request({
		'url': '/activity/getTargetList',
		headers: {
			isToken: false
		},
		'method': 'get',
		'data': params
	})
}
//保存量表指标打分
export function saveClassScale(params) {
	return request({
		'url': '/activity/saveScaleDetailScore',
		headers: {
			isToken: false
		},
		'method': 'get',
		'data': params
	})
}
//活动满意度保存
export function saveClassSatisfaction(params) {
	return request({
		'url': '/activity/saveLectureSatisfaction',
		headers: {
			isToken: false
		},
		'method': 'get',
		'data': params
	})
}
//活动满意度获取
export function getClassSatisfaction(params) {
	return request({
		'url': '/activity/getLectureSatisfaction',
		headers: {
			isToken: false
		},
		'method': 'get',
		'data': params
	})
}
//查看签到
export function getSignRecord(params) {
	return request({
		'url': '/activity/getSignRecord',
		headers: {
			isToken: false
		},
		'method': 'get',
		'data': params
	})
}
//获取当前用户是否签到
export function getClassSignStatus(params) {
	return request({
		'url': '/activity/getSignStatus',
		headers: {
			isToken: false
		},
		'method': 'get',
		'data': params
	})
}
//当前用户签到签退
export function saveClassLectureActivitySignIn(params) {
	return request({
		'url': '/activity/saveLectureActivitySignIn',
		headers: {
			isToken: false
		},
		'method': 'get',
		'data': params
	})
}
/*********观摩课***********/
//获取活动信息详情数据
export function getEmulateActivity(params) {
	return request({
		'url': '/publicClass/getLectureActivityById',
		headers: {
			isToken: false
		},
		'method': 'get',
		'data': params
	})
}
//观摩课-评课量表
export function getTargetLists(params) {
	return request({
		'url': '/publicClass/getTargetList',
		headers: {
			isToken: false
		},
		'method': 'get',
		'data': params
	})
}
// 观摩课-保存量表指标打分
export function saveEmulateScale(params) {
	return request({
		'url': '/publicClass/saveScaleDetailScore',
		headers: {
			isToken: false
		},
		'method': 'get',
		'data': params
	})
}
// 保存观摩课活动满意度
export function saveEmulateSatisfaction(params) {
	return request({
		'url': '/publicClass/saveLectureSatisfaction',
		headers: {
			isToken: false
		},
		'method': 'get',
		'data': params
	})
}

//查看签到
export function getEmulateSignRecord(params) {
	return request({
		'url': '/publicClass/getSignRecord',
		headers: {
			isToken: false
		},
		'method': 'get',
		'data': params
	})
}

// 观摩课获取签到状态
export function getEmulateSignStatus(params) {
	return request({
		'url': '/publicClass/getSignStatus',
		headers: {
			isToken: false
		},
		'method': 'get',
		'data': params
	})
}

// 观摩课签到/签退
export function saveEmulateLectureActivitySignIn(params) {
	return request({
		'url': '/publicClass/saveLectureActivitySignIn',
		headers: {
			isToken: false
		},
		'method': 'get',
		'data': params
	})
}



// 主题教研获取签到状态
export function getResearchSignStatus(params) {
	return request({
		'url': '/teachResearch/getTeachResearchStatus',
		headers: {
			isToken: false
		},
		'method': 'get',
		'data': params
	})
}

// 主题教研签到/签退
export function saveResearchLectureActivitySignIn(params) {
	return request({
		'url': '/teachResearch/saveTeachResearchSignIn',
		headers: {
			isToken: false
		},
		'method': 'get',
		'data': params
	})
}

// 查询观摩课活动满意度
export function getEmulateSatisfaction(params) {
	return request({
		'url': '/publicClass/getLectureSatisfaction',
		headers: {
			isToken: false
		},
		'method': 'get',
		'data': params
	})
}

// 添加观摩课主观评价
export function addEmulateEvaluate(params) {
	return request({
		'url': '/publicClass/saveEstimate',
		headers: {
			isToken: false
		},
		'method': 'get',
		'data': params
	})
}

// 查看观摩课主观评价
export function getEmulateEvaluate(params) {
	return request({
		'url': '/publicClass/getEstimateInfo',
		headers: {
			isToken: false
		},
		'method': 'get',
		'data': params
	})
}


//获取活动报告
export function getEmulateActivityReport(params) {
	return request({
		'url': '/publicClass/getActivityReport',
		headers: {
			isToken: false
		},
		'method': 'get',
		'data': params
	})
}
/*********教研管理***********/
//查看签到
export function getResearchSignRecord(params) {
	return request({
		'url': '/teachResearch/getSignRecord',
		headers: {
			isToken: false
		},
		'method': 'get',
		'data': params
	})
}
//获取活动信息详情数据
export function getResearchActivity(params) {
	return request({
		'url': '/teachResearch/getTeachingResearchByid',
		headers: {
			isToken: false
		},
		'method': 'get',
		'data': params
	})
}
/*********教案抽查***********/
//获取活动信息详情数据
export function getTeachActivity(params) {
	return request({
		'url': '/teachCheck/findByCheckInfoDetails',
		headers: {
			isToken: false
		},
		'method': 'get',
		'data': params
	})
}
//保存教案抽查
export function saveCheckNote(params) {
	return request({
		'url': '/teachCheck/saveCheckNote',
		headers: {
			isToken: false
		},
		'method': 'get',
		'data': params
	})
}
//获取教案抽查数据
export function getFindCheckNote(params) {
	return request({
		'url': '/teachCheck/findCheckNote',
		headers: {
			isToken: false
		},
		'method': 'get',
		'data': params
	})
}